<?php
/**
 * Created by PhpStorm.
 * User: Raytine
 * Date: 2018/8/30
 * Time: 10:07
 */
namespace PddWechat\Models\User\Dao;

use Dai\Framework\Base\BaseDao;
use Dai\Framework\Library\Log;
use PddWechat\Models\User\DataObject\UserMoneyRecordDo;

/**
 * Class UserDao
 * @dataObject(\PddWechat\Models\User\DataObject\UserMoneyRecordDo)
 * @package PddWechat\Models\User\Dao
 */
class UserMoneyRecordDao extends BaseDao
{
    public function insert(UserMoneyRecordDo $userMoneyRecord) {
        $userMoneyRecord->id = $this->execute("user.user_money_record.insert", $userMoneyRecord);
        return $userMoneyRecord;
    }
}